import axios from '../index'

/**
 * @url /shop/info
 * @method get
 * 
 */
export function info() {
    return axios.get('/shop/info')
}
/**
 * @url /shop/edit
 * @method post
 * 
 * id	int
name	string
bulletin	string
avatar	string
deliveryPrice	int
deliveryTime	int
description	string
score	float
sellCount	int
supports	string数组
date	string数组
pics	string数组
 */
export function edit(params) {
    return axios.post('/shop/edit', params)
}